package com.med.openfeign;

import com.med.entity.DepartmentDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "med-admin-medical-management", contextId = "appointmentFeign")
public interface IAppointmentFeign {

    @RequestMapping("/department/queryDepartment")
    List<DepartmentDO> queryDepartment();
}
